package com.bestcem.xm.user.mq.message.user;


import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;


/**
 * 统计用户数量
 *
 * @author zhijian.lin <zhijian.lin@idiaoyan.com>
 * @date 2022/3/9 18:30
 * @version v1.0
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class QuotaReachedMessage implements Serializable {

    private String event;

    @JsonProperty("org_id")
    @JSONField(name = "org_id")
    private String orgId;

    @JsonProperty("total_quota")
    @JSONField(name = "total_quota")
    private Integer totalQuota;

    @JsonProperty("quota_rate")
    @JSONField(name = "quota_rate")
    private String quotaRate;

}
